package com.yq.bdm.entity;

import java.io.Serializable;
import java.util.Date;



/**
 * 角色权限表
 * 
 * @author yuq
 * @date 2017-07-21 16:35:14
 */
public class RolePermissionEntity implements Serializable {
	
	private static final long serialVersionUID = 1L;
	
	// 主键
	private Long id;
	// 角色ID
	private Long roleId;
	// 权限ID
	private Long permissionId;
	
	/**
	 * 默认无参构造函数
	 */
	public RolePermissionEntity() {
		
	}

	/**
	 * 设置：主键
	 */
	public void setId(Long id) {
		this.id = id;
	}
	
	/**
	 * 获取：主键
	 */
	public Long getId() {
		return id;
	}
	/**
	 * 设置：角色ID
	 */
	public void setRoleId(Long roleId) {
		this.roleId = roleId;
	}
	
	/**
	 * 获取：角色ID
	 */
	public Long getRoleId() {
		return roleId;
	}
	/**
	 * 设置：权限ID
	 */
	public void setPermissionId(Long permissionId) {
		this.permissionId = permissionId;
	}
	
	/**
	 * 获取：权限ID
	 */
	public Long getPermissionId() {
		return permissionId;
	}
}
